package com.clive.ttweb.service.impl;

import com.clive.ttweb.bean.DishesCategory;
import com.clive.ttweb.mapper.DishesCategoryMapper;
import com.clive.ttweb.service.DishesCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DishesCategoryServiceImpl implements DishesCategoryService {
    @Autowired
    private DishesCategoryMapper dishesCategoryMapper;
    @Override
    public List<DishesCategory> findCategoryAll() {
        List<DishesCategory> list = dishesCategoryMapper.findCategoryAll();
        return list;
    }
}
